/*
 * @Author: Liz.Zheng
 * @Date: 2021-10-11 11:43:13
 * @LastEditTime: 2021-11-08 18:43:57
 * @LastEditors: Liz.Zheng
 * @Description: 路由器
 * @Motto: Write the code. Change the world.
 */
import { createRouter, createWebHashHistory } from "vue-router";
import routes from "./router.config";
import * as VueRouter from 'vue-router'
let history = VueRouter.createWebHashHistory()
let router = createRouter({
  history,
  routes,
  base: window.__MICRO_APP_BASE_ROUTE__ || process.env.BASE_URL,
});

export { routes, router, history };
